package tgc.edu.yzy.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.yzy.custom.CommonService;
import tgc.edu.yzy.entity.Book;
import tgc.edu.yzy.repository.BookRepository;
@Service
public class BookService extends CommonService<Book, Integer>{
	@Autowired
	private BookRepository bookDAO;

	public Book findByIsbn(String isbn) {
		return bookDAO.findByIsbn(isbn);
	}
}
